﻿@model IEnumerable<SienSchoofsProject.Models.UserProfile>

@{
    ViewBag.Title = Resources.ChangeRoleTitle;
}

    <hgroup class="title">
        <h1>@ViewBag.Title</h1>
    </hgroup>

    @using (Html.BeginForm("Feedback", "ChangeRole", FormMethod.Post, new { id = "formRollen" }))
    {
        <p>
            <b>@Html.Label("Gebruikersnaam: ")</b> @ViewBag.Username
            <br />
            <input type="hidden" value="@ViewBag.UserName" name="username" />
        </p>
        <p>
            <b>@Html.Label(Resources.PossRoles)</b> @Html.DropDownList("roles", Resources.SelectRole)<br />
            @ViewBag.Error
        </p>
           
        <br />
        <input type="submit" value="@Resources.AddRole" class="btn" name="action" />
        <input type="submit" value="@Resources.DeleteRole" class="btn" name="action" />
    }
